<template>

</template>

<script lang="ts" setup>
const xhr = new XMLHttpRequest();
xhr.onload=function (){
    const response = xhr.response;
    console.log(response)
}
xhr.open('GET','http://localhost:8080/api/students')
xhr.responseType="json"
xhr.send()


</script>

<style scoped>

</style>
